#!/bin/sh
# 此处的脚本放入jenkins中
# 设置参数
jarName=spring-boot-demo-0.0.1-SNAPSHOT.jar
jarFolder=ph
# 项目名
projectName=maven

docker_path=${WORKSPACE}

cp ${WORKSPACE}/target/${jarFolder} ${docker_path}

sh /root/docker_dir/deploy_docker.sh ${projectName} ${docker_path} ${jarName}